package com.mjp.spring;


public class User {
    private String username;

    private Integer age;

    public User() {
        this.username = "majunpeng";
        this.age = 28;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "username:" + username + ",age is " + age;
    }
}
